package top.lixunda.commerce.common.core.controller.wrapper;

import java.util.Map;

/**
 * @author LiXunda
 * @version time:2019/10/14 10:06
 */
@SuppressWarnings("ALL")
public interface IOtherBlock {

    IOtherBlock groupBy(String... column);

    IOtherBlock orderBy(Map<String, String> map);

    IOtherBlock orderBy(String column, String type);

    IOtherBlock orderByAsc(String... column);

    IOtherBlock orderByDesc(String... column);

    IOtherBlock having(String column);

    /**
     * 设置分页参数进行分页
     *
     * @param current 当前第几页，一序
     * @param count   每页的数目条数
     * @return OtherBlock本身，链式调用方法
     */
    IOtherBlock page(long current, long count);

}
